package common

import (
	"context"
	"hotgo/internal/service"

	"hotgo/api/api/common/v1"
)

func (c *ControllerV1) SendSms(ctx context.Context, req *v1.SendSmsReq) (res *v1.SendSmsRes, err error) {
	err = service.SysSmsLog().SendCode(ctx, &req.SendCodeInp)
	return
}
